home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2825 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PPC compilers
  5. Date: 5 Feb 1996 17:57:53 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <987.6609T1075T1727@ifi.uio.no>
  8. References: <38232191@kone.fipnet.fi> <551.6602T1231T2646@ifi.uio.no>
  9.     <38232238@kone.fipnet.fi> <1316.6605T735T2597@ifi.uio.no> <38232280@kone.fipnet.fi>
  10. NNTP-Posting-Host: gymir.ifi.uio.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13. >> Now, I'm thinking about something that /can/ be wrong with the addx
  14. >> routines.
  15. >> The X-flag is not added to d2 at the correct time, I think.
  16. >> Its delayed with 1 run throw the loop:
  17. >> So here is a suggestion:
  18. >>     sub.w  d1,d2           ; This routine will only affect the hi-word
  19. >>     add.l  d1,d2           ; d2 and set the xflag right.
  20. >> This routine will solve the the x-flag *and* the delay problem.
  21. >> (If you are using 16:16)
  22. >> It looked cool, I think I will try that in my routines! :)
  23. >Yep, the problem is, that the decimals are delayed. So this
  24. >will fix it? How about with two addx? What then?
  25.  
  26. That should fix the delay problem. For 1 addx and 2 addx'es. :)
  27. Remember when you use 2 addx the fraction parts are swapped, so the
  28. fract and x-flag is calculated on the addx above, so there will be no delay
  29. problems on the second addx. Everything should be correct!
  30.  
  31.  
  32.  
  33.  
  34. <sb>Ludde - Amiga Demo Coder
  35. <sb>Virtual Reality & Official Be developer
  36. <sb>ludvigp@ifi.uio.no
  37.  
  38.